package com.miloyu.modelnet.response

/**
 * @Description
 * @Author 梁浩文
 * @Date 2021/8/27 11:40
 */
data class TrainListBean(
    val info: List<TrainListBeanInfo>
)

data class TrainListBeanInfo(
    val categoryAttribute: Int,
    val categoryEvent: Int,
    val categoryName: String,
    val categoryParid: Int,
    val categoryType: Int,
    val categoryUrl: String,
    val id: Int,
    val searchValue: String,
    val categoryCmd: String,
    val zebraOrder: Int,
    val curriculumType: String,
)

data class TrainSelectData(
    var id:Int,
    var child: Any??=null,
    var oneX:Int ?=0

) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as TrainSelectData

        if (id != other.id) return false

        return true
    }

    override fun hashCode(): Int {
        return id
    }
}


/**
 * @Author: YY
 * @Time: 2021/8/27
 * @Describe TODO
 */

data class TrainPlanWrap(val info: List<TrainListVO>)

data class TrainListVO(val id: String, val userId: String, val startTime: String , val endTime: String,
                       val durationCount: Int, val durationNow: Int, val duration: Int, val weekDay: String,
                       val curriculumType: String, val title: String, val icon: String,
                       val weekIgnore: String, val params: TParams)

data class TParams(val week: String)


data class PlanStatusWrap(val info: List<PlanStatusVO>)

data class PlanStatusVO(val planStatus: String, val targetTime: String)